// 品牌相关接口
import { get, post, put, exportDefault } from '@/utils/request'

// 品牌的公共URL前缀
let BASE_URL = '/common/quartz'

const quartz = {
  queryQuartzPage: (data) => post(BASE_URL + '/searchDefault', data),
  exportQuartz: (data) => exportDefault(BASE_URL + '/exportDefault', data),
  getQuartzById: (data) => get(BASE_URL + '/getById', data),
  createQuartz: (data) => post(BASE_URL + '/create', data),
  updateQuartz: (data) => put(BASE_URL + '/update', data),
  pauseBatchQuartz: (data) => put(BASE_URL + '/pauseBatch', data),
  resumeBatchQuartz: (data) => put(BASE_URL + '/resumeBatch', data),
  runQuartz: (data) => put(BASE_URL + '/runNow', data)
}
export default quartz
